package com.gzist.elderlyserviceplatform.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gzist.elderlyserviceplatform.entity.dto.ActivityRegistrationQueryDTO;
import com.gzist.elderlyserviceplatform.entity.dto.ActivityRegistrationReviewDTO;
import com.gzist.elderlyserviceplatform.entity.po.ActivityRegistration;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gzist.elderlyserviceplatform.entity.vo.ActivityRegistrationVO;
import com.gzist.elderlyserviceplatform.entity.vo.HomePageInfoCountVO;
import com.gzist.elderlyserviceplatform.entity.vo.HomePageInfoCountVOO;

import java.util.List;

/**
 * 活动报名表 服务类
 */
public interface ActivityRegistrationService extends IService<ActivityRegistration> {
    /**
     * 分页查询活动报名列表
     */
    Page<ActivityRegistrationVO> queryPage(ActivityRegistrationQueryDTO queryDTO);

    /**
     *审核活动报名
     */
    void reviewActivityRegistration(ActivityRegistrationReviewDTO reviewDTO);

    /**
     * 查询各个活动以及其报名人数
     */
    List<HomePageInfoCountVOO> countActivityRegistration();

    void activityRegistrationService(String activity_id);
}
